#include<iostream>
int main() {
	int i = 10;
	while (i > 0) {
		std::cout << --i << std::endl;
	}
	/*differece between --i and i--*/
	for (int i = 10; i >0; --i){
		std::cout << i << std::endl;
	}
	system("pause");
	return 0;
 }